from timeit import Timer

import sys
import math


def Problem():
    """2^(15) = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.

    What is the sum of the digits of the number 2^(1000)? """
    

    #Get sum
    sum2 = sum(map(long, str(2**1000)))
    
    
    print "Answer for Problem 16 = %s " % (str(sum2),)




    
if __name__ == "__main__":
    t = Timer(setup='from __main__ import Problem', stmt='Problem()').timeit(1)
    print "Execution time = %0.3f seconds" %(t,)